package com.tencent.org.domain;

import com.tencent.basic.domain.BaseDomain;
import com.tencent.user.domain.Logininfo;
import lombok.Data;
/**
 * 实体类 ： 员工
 */
@Data // 会在编译时自动生成Getter/Setter方法
public class Employee extends BaseDomain {

  /** 员工名称  */
  private String username;
  /** 员工邮箱  */
  private String email;
  /** 员工电话  */
  private String phone;
  /** 员工颜值  */
  private String salt;
  /** 员工密码  */
  private String password;
  /** 员工年龄  */
  private Integer age;
  /** 员工状态  */
  private Integer state;
  /** 员工所属部门ID  */
  private Long department_id;


  private Department department;

  /** 员工信息ID  */
  private Long logininfo_id;

  private Logininfo logininfo;

  /** 店铺ID  */
  private Long shop_id;

  private Shop shop;

  /** 关联role */
  private Long role_id;
}
